<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<!DOCTYPE html>
<html>
  <head>
    <base href="<%=basePath%>">
    <%@ taglib uri="/struts-tags" prefix="s"%>
    <%@include file="./headMeta.jsp" %>
  </head>
  <body class="skin-blue">
    <%@include file="./header.jsp" %>
    <div class="wrapper row-offcanvas row-offcanvas-left">
        <!-- Left side column. contains the logo and sidebar -->
        <%@include file="./sidebar.jsp" %>

      <!-- Right side column. Contains the navbar and content of the page -->
      <aside class="right-side">
        <!-- Content Header (Page header) -->
        <section class="content-header">
            <h1>
                员工
            </h1>
        </section>

        <!-- Main content -->
        <section class="content">
            <div class="row">
                <div class="col-md-6">
                    <!-- general form elements -->
                    <div class="box box-primary">
                        <div class="box-header">
                            <h3 class="box-title">修改信息</h3>
                        </div><!-- /.box-header -->
                        <!-- form start -->
                        <form role="form" action="orderItem/modifyOrderItem.action" method="post">
                            <div class="box-body">
                                <input type="text" name="order_id" required="true" value="${order_id }" style="display:none" />
                                <input type="text" name="product_id" required="true" value="${product_id }" style="display:none" />
                                <div class="form-group">
                                    <label for="inputCount">数量</label>
                                    <input type="text" name="count" value="${orderItem.count }" class="form-control" id="inputCount" placeholder="请输入商品数量">
                                </div>
                            </div><!-- /.box-body -->

                            <div class="box-footer">
                                <button type="submit" class="btn btn-primary">提交</button>
                                <a class="btn btn-primary" href="order/listOrderItems.action?orderId=${order_id}">返回</a>
                            </div>
                        </form>
                    </div><!-- /.box -->
                </div>
            </div><!-- /.row -->
        </section><!-- /.content -->   
      </aside>
    </div><!-- ./wrapper -->
  </body>
  <%@include file="./javascript.jsp" %>
</html>
